package NG::Sys::Cached::MemColumnAny;
use strict;
use warnings;
use utf8;

use base 'NG::Sys::Cached::Base';

sub make_fields {
	return 1;
}
sub check_field {
	return 1;
}
sub check_fields_ary {
	my ($self,$keys) = @_;
	return @$keys;
}
sub _remove_source {
	my ($self,$id) = @_;
}
sub _read_source {
	my ($self,$id) = @_;
	return {};
}
sub _replace_source {
	goto &_update_source;
}
sub _update_source {
	my ($self,$id,$data,$keys) = @_;
	unless($keys or @$keys){
		return 0;
	}
	return $keys;
}

1;
